package com.tpshion.cloud.test.config;

import com.tpshion.cloud.common.support.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(value = "tpshion-cloud-auth")
public interface AuthService {

    @GetMapping("/permission")
    Result permission(@RequestParam("permission") String permission);
}
